package com.code.app.http;

import java.util.Map;

public class OkHttpEngine implements IHttpEngine {

    private static IHttpEngine httpEngine = new OkHttpEngine();

    @Override
    public void get(String url, Map<String, Object> params, EngineCallBack engineCallBack) {
        httpEngine.get(url, params, engineCallBack);
    }

    @Override
    public void post(String url, Map<String, Object> params, EngineCallBack engineCallBack) {
        httpEngine.post(url, params, engineCallBack);
    }
}
